[INFO] fetching crate tre-command 0.4.0...
[INFO] fixing tre-command-0.4.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate tre-command 0.4.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate tre-command 0.4.0
[INFO] finished tweaking crates.io crate tre-command 0.4.0
[INFO] tweaked toml for crates.io crate tre-command 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tre-command 0.4.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tre-command 0.4.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a3ee1fa02d210511c45068aabb86461616850f5c4870933ecfcb428759e882e5
[INFO] running `Command { std: "docker" "start" "a3ee1fa02d210511c45068aabb86461616850f5c4870933ecfcb428759e882e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a3ee1fa02d210511c45068aabb86461616850f5c4870933ecfcb428759e882e5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3ee1fa02d210511c45068aabb86461616850f5c4870933ecfcb428759e882e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a3ee1fa02d210511c45068aabb86461616850f5c4870933ecfcb428759e882e5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   clap v3.1.18 removed features: cargo
[INFO] [stderr]   clap v3.1.18 (as host dependency) removed features: clap_derive, derive
[INFO] [stderr]   libc v0.2.125 removed features: default, std
[INFO] [stderr]   libc v0.2.125 (as host dependency) removed features: default, std
[INFO] [stderr] 
[INFO] [stderr]    Compiling proc-macro2 v1.0.38
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling syn v1.0.93
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling os_str_bytes v6.0.1
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling indexmap v1.9.0
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]     Checking predicates-core v1.0.3
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking clap_lex v0.2.0
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking termtree v0.2.4
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking lscolors v0.7.1
[INFO] [stderr]     Checking predicates-tree v1.0.5
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking predicates v2.1.1
[INFO] [stderr]     Checking assert_cmd v2.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.1.18
[INFO] [stderr]    Compiling clap v3.1.18
[INFO] [stderr]    Compiling clap_complete v3.1.4
[INFO] [stderr]    Compiling tre-command v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/integration_tests.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.71s
[INFO] [stderr] crater-edition-check: tre-command v0.4.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]     Checking clap v3.1.18
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap_complete v3.1.4
[INFO] [stderr]    Compiling tre-command v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `ArgEnum` in this scope
[INFO] [stdout]  --> src/cli.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(ArgEnum, Clone, Debug, PartialEq)]
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ArgEnum` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/cli.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{ArgEnum, Parser};
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]   --> src/cli.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone, Parser)]
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/cli.rs:1:21
[INFO] [stdout]    |
[INFO] [stdout]  1 | use clap::{ArgEnum, Parser};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[clap(author, version, about)]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[clap(long, short, parse(from_flag))]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 |     #[clap(long, short, parse(from_flag))]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 |     #[clap(long, short, parse(from_flag))]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 |     #[clap(long, short, value_name = "COMMAND")]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 |     #[clap(long, short, parse(from_flag))]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:45:7
[INFO] [stdout]    |
[INFO] [stdout] 45 |     #[clap(long, short)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 |     #[clap(long, short = 'E', value_name = "PATTERN")]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 |     #[clap(
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:62:7
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/cli.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 |     #[clap(default_value = ".")]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `command` found for struct `Interface` in the current scope
[INFO] [stdout]   --> build.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut cmd = Interface::command();
[INFO] [stdout]    |                              ^^^^^^^ associated function or constant not found in `Interface`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cli.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Interface {
[INFO] [stdout]    | -------------------- associated function or constant `command` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `command`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `CommandFactory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tre-command` (build script) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "a3ee1fa02d210511c45068aabb86461616850f5c4870933ecfcb428759e882e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3ee1fa02d210511c45068aabb86461616850f5c4870933ecfcb428759e882e5", kill_on_drop: false }`
[INFO] [stdout] a3ee1fa02d210511c45068aabb86461616850f5c4870933ecfcb428759e882e5
